home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xt / XtGetGC.z / XtGetGC
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXttttGGGGeeeettttGGGGCCCC((((3333XXXXtttt))))       XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))        XXXXttttGGGGeeeettttGGGGCCCC((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtGetGC, XtReleaseGC - obtain and destroy a sharable GC
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           GC XtGetGC(_w, _v_a_l_u_e__m_a_s_k, _v_a_l_u_e_s)
  13.                 Widget _w;
  14.                 XtGCMask _v_a_l_u_e__m_a_s_k;
  15.                 XGCValues *_v_a_l_u_e_s;
  16.  
  17.           void XtReleaseGC(_w, _g_c)
  18.                 Widget _w;
  19.                 GC _g_c;
  20.  
  21.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  22.           _g_c        Specifies the GC to be deallocated.
  23.  
  24.           _v_a_l_u_e_s    Specifies the actual values for this GC.
  25.  
  26.           _v_a_l_u_e__m_a_s_k
  27.                     Specifies which fields of the values are
  28.                     specified.
  29.  
  30.           _w         Specifies the widget.
  31.  
  32.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  33.           The _X_t_G_e_t_G_C function returns a sharable, read-only GC.  The
  34.           parameters to this function are the same as those for
  35.           _X_C_r_e_a_t_e_G_C except that a widget is passed instead of a
  36.           display.  _X_t_G_e_t_G_C shares only GCs in which all values in the
  37.           GC returned by _X_C_r_e_a_t_e_G_C are the same.  In particular, it
  38.           does not use the value_mask provided to determine which
  39.           fields of the GC a widget considers relevant.  The
  40.           value_mask is used only to tell the server which fields
  41.           should be filled in with widget data and which it should
  42.           fill in with default values.  For further information about
  43.           value_mask and values, see _X_C_r_e_a_t_e_G_C in the _X_l_i_b - _C
  44.           _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e.
  45.  
  46.           The _X_t_R_e_l_e_a_s_e_G_C function deallocate the specified shared GC.
  47.  
  48.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  49.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  50.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.